* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

a:hover {
    text-decoration: none;
}

input {
    outline: none !important;
}

ul li {
    list-style: none;
}

.wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 791px;
    background: url(../images/bg.jpg) no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    color: #333;
}

// 面板
.panel {
    position: relative;
    margin: 0;
    height: 70px;
    width: 100%;
    line-height: 70px;
    background-color: rgb(13, 153, 206);
    z-index: 99;
    .panel-heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

    .panel-title {
        height: 50px;
        line-height: 50px;
        font-size: 25px;
        color: #ccc;
    }

    .input-group {
        position: relative;
        margin-right: 5px;
        height: 40px;
        line-height: 40px;

        input {
            border-radius: 20px !important;
            height: 40px;
            width: 300px;
            line-height: 40px;
            padding-right: 40px;
            background-color: rgba(255, 255, 255, .5);
        }

        span {
            position: absolute;
            right: 15px;
            top: 0;
            z-index: 2;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            cursor: pointer;
        }

    }



}

// 内容
.section {
    display: flex;
    justify-content: space-around;
    height: 675px;
    img {
        height: 100%;
    }
    .musiclist {
        flex: 1;
        height: 675px;
        padding: 20px;
        cursor: pointer;
        ul {
            height: 100%;
            overflow-y: scroll;
            &::-webkit-scrollbar {
                display: none;
            }
            li {
                position: relative;
                padding: 0 10px ;
                height: 50px;
                line-height: 50px;
                font-size: 18px;
                
                &:nth-child(odd){
                    background-color: rgba(255, 255, 255, .2);
                }
                
                span {
                    position: absolute;
                    top: 50%;
                    transform: translateY(-50%);
                    display: inline-block;
                    color: rgb(185, 65, 65);
                    font-size: 20px;
                    width: 20px;
                    height: 20px;
                    text-align: center;
                    cursor: pointer;
                }

                .video {
                    right: 10px;
                }
                p {
                    margin-left: 30px;
                }
            }

        }
    }

    .center {
        flex: 2;
        position: relative;
        .bar {
            position: absolute;
            top: -15px;
            left: 350px;
            width: 184px;
            height: 256px;
            z-index: 2;
            transform: rotate(-25deg);
            transform-origin: 12px 12px;
        }
        .disc {
            position: absolute;
            top: 150px;
            left: 200px;
            width: 350px;
            height: 350px;
            object-fit: cover;
            z-index: 1;
        }
        
        .cover {
            position: absolute;
            top: 225px;
            left: 275px;
            width: 200px;
            height: 200px;
            object-fit: cover;
            border-radius: 50%;
        }
        
    }

    .message {
        flex: 1;
        overflow-y: scroll;
        &::-webkit-scrollbar {
            display: none;
            }
        .title {
            font-size: 20px;
            margin: 15px;
        }

        .message_list {
            margin: 15px;
            height: 620px;
            font-size: 16px;
            line-height: 2;
            dl {
                position: relative;
                padding: 10px;
                line-height: 2;
                dt {
                    position: absolute;
                    img {
                        width: 40px;
                        height: 40px;
                        border-radius: 20px;
                    }
                }
                dd {
                    margin-left: 50px;
                    word-break:break-all ;
                }

                .username {
                    font-weight: bold   ;
                }
            }
        }
    }
}

// 播放器
footer {
    audio {
        position: fixed;
        bottom: 0;
        width: 100%;
        border-radius: 0% !important;
        background-color: #F1F3F4;
    }
    video { 
        position: absolute;
        top: 70px;
        left: 110px;
        width: 1300px;
        height: 700px;  
        z-index: 3;
    }
    .mask {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .8);
        text-align: center;
        
    }

}

// 动画播放
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.pic_animator {
    animation: rotate 5s linear infinite paused;
}

// 播放动画
.center.playing .disc, 
.center.playing .cover {
    animation-play-state: running;
}

.center.playing .bar {
    transform: rotate(10deg);
}